/**
 * Copyright 2008 Matthew Purland (m.purland@gmail.com)
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.variance.version.data;

/**
 * Stores revisionable data. This abstract class does not specify whether a
 * piece of revisionable data is {@link Differentiable}. Any inheriting class
 * will have to mark itself as {@link Differentiable}. This will also help
 * distinguish between data that should be allowed to be differentiated and not.
 * 
 * @todo Why have RevisionData when we already have Revision(s) that specify
 *       data We may want to separate and represent non-revisionable data from
 *       revisionable data but then why do we name this class RevisionData, this
 *       would mean that all data that should be revisioned?
 * 
 * @todo There should be integrity secured RevisionData as well as unsecured.
 *       This could possibly be used with MD5.
 * 
 * @author Matthew Purland
 */
public interface RevisionData {
	/**
	 * Get the raw data for the revision data.
	 */
	byte[] getRawData();
}
